import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JCheckBox;
import javax.swing.JTable;
import javax.swing.JButton;


public class FormEx extends JFrame {

	private JPanel contentPane;
	private JTable table;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FormEx frame = new FormEx();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public FormEx() {
		setTitle("게시판");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 700, 530);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		table = new JTable();
		table.setColumnSelectionAllowed(true);
		table.setBounds(49, 51, 589, 339);
		contentPane.add(table);
		
		JButton btnNewButton = new JButton("글쓰기");
		btnNewButton.setBounds(536, 402, 97, 23);
		contentPane.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("->");
		btnNewButton_1.setBounds(371, 402, 47, 23);
		contentPane.add(btnNewButton_1);
		
		JButton btnNewButton_2 = new JButton("<-");
		btnNewButton_2.setBounds(165, 400, 47, 23);
		contentPane.add(btnNewButton_2);
		
		JLabel lblNewLabel = new JLabel("1, 2, 3, 4, 5, 6, 7, 8, 9, 10");
		lblNewLabel.setBounds(224, 406, 244, 15);
		contentPane.add(lblNewLabel);
		
		JLabel lblNewLabel_1 =new JLabel("글번호");
		lblNewLabel_1.setBounds(49, 26, 57, 15);
		contentPane.add(lblNewLabel_1);
		
		JLabel lblNewLabel_2 = new JLabel("글제목");
		lblNewLabel_2.setBounds(112, 26, 57, 15);
		contentPane.add(lblNewLabel_2);
		
		JLabel lblNewLabel_3 = new JLabel("글쓴이");
		lblNewLabel_3.setBounds(458, 26, 57, 15);
		contentPane.add(lblNewLabel_3);
		
		JLabel lblNewLabel_4 = new JLabel("조회수");
		lblNewLabel_4.setBounds(576, 26, 57, 15);
		contentPane.add(lblNewLabel_4);
	}
}
